package com.droidwatcher.activity;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

public class LauncherActivity extends Activity {
	public Context mContext ;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mContext = this ;
		startActivity(new Intent(this, StartupActivity.class));

//		AXLog.e("wzytest","RootTools.isRootAvailable() :"+RootTools.isRootAvailable() );
//
//		AXLog.e("wzytest","RootTools.isAccessGiven():"+RootTools.isAccessGiven() );
//		if (!RootTools.isRootAvailable() || !RootTools.isAccessGiven()) {
//			AXLog.e("wzytest","授权成功");
//			try {
//				String path = FileUtil.getExternalFullPath(mContext, "screenshot.jpg");
//				ScreenshotModule.MakeScreenshotCommand command = new ScreenshotModule.MakeScreenshotCommand(path);
//				RootTools.getShell(true).add(command);
//
//			} catch (Exception e) {
//				ACRA.getErrorReporter().handleSilentException(e);
//			}
//
//		}
        finish();

	}
}
